package project.pianpian.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;

import java.util.Date;

/**
 * Description:
 * Param:
 * return:
 * Author: HSY
 * Date:2022/12/26
 */
@Data
@AllArgsConstructor
public class Demo {
    private int id;
    private int order_id;
    private String uri;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date time;

    public Demo(int order_id, String uri, Date time) {
        this.order_id = order_id;
        this.uri = uri;
        this.time = time;
    }


}
